<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Clause: cppjieba::MPSegment类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Clause
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Chatopera Language Understanding Service.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>cppjieba</b></li><li class="navelem"><a class="el" href="classcppjieba_1_1MPSegment.html">MPSegment</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="classcppjieba_1_1MPSegment-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">cppjieba::MPSegment类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 cppjieba::MPSegment 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="classcppjieba_1_1MPSegment__inherit__graph.png" border="0" usemap="#cppjieba_1_1MPSegment_inherit__map" alt="Inheritance graph"/></div>
<map name="cppjieba_1_1MPSegment_inherit__map" id="cppjieba_1_1MPSegment_inherit__map">
<area shape="rect" id="node2" href="classcppjieba_1_1SegmentTagged.html" title="cppjieba::SegmentTagged" alt="" coords="5,80,192,107"/>
<area shape="rect" id="node3" href="classcppjieba_1_1SegmentBase.html" title="cppjieba::SegmentBase" alt="" coords="11,5,186,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<div class="dynheader">
cppjieba::MPSegment 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="classcppjieba_1_1MPSegment__coll__graph.png" border="0" usemap="#cppjieba_1_1MPSegment_coll__map" alt="Collaboration graph"/></div>
<map name="cppjieba_1_1MPSegment_coll__map" id="cppjieba_1_1MPSegment_coll__map">
<area shape="rect" id="node2" href="classcppjieba_1_1SegmentTagged.html" title="cppjieba::SegmentTagged" alt="" coords="5,171,192,197"/>
<area shape="rect" id="node3" href="classcppjieba_1_1SegmentBase.html" title="cppjieba::SegmentBase" alt="" coords="11,95,186,121"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a2fd71af61a0676b5b3a3ba09da855f3d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2fd71af61a0676b5b3a3ba09da855f3d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MPSegment</b> (const string &amp;dictPath, const string &amp;userDictPath=&quot;&quot;)</td></tr>
<tr class="separator:a2fd71af61a0676b5b3a3ba09da855f3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f4a129f26301240503c70fcf0bb9d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8f4a129f26301240503c70fcf0bb9d0"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MPSegment</b> (const <a class="el" href="classcppjieba_1_1DictTrie.html">DictTrie</a> *dictTrie)</td></tr>
<tr class="separator:aa8f4a129f26301240503c70fcf0bb9d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7288557933052d311e21baf8802cf394"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7288557933052d311e21baf8802cf394"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words) const </td></tr>
<tr class="separator:a7288557933052d311e21baf8802cf394"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa35eb07bee82e821f24ce70b779b7e62"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa35eb07bee82e821f24ce70b779b7e62"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (const string &amp;sentence, vector&lt; string &gt; &amp;words, size_t max_word_len) const </td></tr>
<tr class="separator:aa35eb07bee82e821f24ce70b779b7e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0204a745cd8f2691cab6072c8f7b192"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0204a745cd8f2691cab6072c8f7b192"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (const string &amp;sentence, vector&lt; <a class="el" href="structcppjieba_1_1Word.html">Word</a> &gt; &amp;words, size_t max_word_len=MAX_WORD_LENGTH) const </td></tr>
<tr class="separator:aa0204a745cd8f2691cab6072c8f7b192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07614951e5f6074c8c99f74d3d275e95"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07614951e5f6074c8c99f74d3d275e95"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>Cut</b> (RuneStrArray::const_iterator begin, RuneStrArray::const_iterator end, vector&lt; <a class="el" href="structcppjieba_1_1WordRange.html">WordRange</a> &gt; &amp;words, size_t max_word_len=MAX_WORD_LENGTH) const </td></tr>
<tr class="separator:a07614951e5f6074c8c99f74d3d275e95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba00107d3ce5324801dd94b9ae5ea645"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba00107d3ce5324801dd94b9ae5ea645"></a>
const <a class="el" href="classcppjieba_1_1DictTrie.html">DictTrie</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>GetDictTrie</b> () const </td></tr>
<tr class="separator:aba00107d3ce5324801dd94b9ae5ea645"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ea878e5cd9764ecdb920f65558d4c81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ea878e5cd9764ecdb920f65558d4c81"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>Tag</b> (const string &amp;src, vector&lt; pair&lt; string, string &gt; &gt; &amp;res) const </td></tr>
<tr class="separator:a6ea878e5cd9764ecdb920f65558d4c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114f4fde0f59b4f2b454e63ce5b6ec51"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a114f4fde0f59b4f2b454e63ce5b6ec51"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsUserDictSingleChineseWord</b> (const Rune &amp;value) const </td></tr>
<tr class="separator:a114f4fde0f59b4f2b454e63ce5b6ec51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classcppjieba_1_1SegmentBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcppjieba_1_1SegmentBase')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classcppjieba_1_1SegmentBase.html">cppjieba::SegmentBase</a></td></tr>
<tr class="memitem:a47bfe4df354339bb060e23be92a18e55 inherit pub_methods_classcppjieba_1_1SegmentBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47bfe4df354339bb060e23be92a18e55"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>ResetSeparators</b> (const string &amp;s)</td></tr>
<tr class="separator:a47bfe4df354339bb060e23be92a18e55 inherit pub_methods_classcppjieba_1_1SegmentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_classcppjieba_1_1SegmentBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcppjieba_1_1SegmentBase')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="classcppjieba_1_1SegmentBase.html">cppjieba::SegmentBase</a></td></tr>
<tr class="memitem:a854214432d11b2fe858a97796654baab inherit pro_attribs_classcppjieba_1_1SegmentBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a854214432d11b2fe858a97796654baab"></a>
unordered_set&lt; Rune &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>symbols_</b></td></tr>
<tr class="separator:a854214432d11b2fe858a97796654baab inherit pro_attribs_classcppjieba_1_1SegmentBase"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/jieba/include/cppjieba/<a class="el" href="MPSegment_8hpp_source.html">MPSegment.hpp</a></li>
</ul>
</div><!-- contents -->
<address class="footer">
    <small>
        &nbsp; Copyright (c) (2019-2020) &nbsp;<a href="https://www.chatopera.com">
            北京华夏春松科技有限公司
        </a>. All Rights Reserved
        &nbsp;
    </small>
</address>